package com.test.shopping.service.impl;

import com.test.shopping.pojo.List;
import com.test.shopping.pojo.User;
import com.test.shopping.mapper.listMapper;
import com.test.shopping.service.listService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.ArrayList;

@Service
public class listServiceImpl implements listService {
    @Autowired
    private listMapper listMapper;
    @Override
    public void selfInsert(List list) {
        listMapper.selfInsert(list);
    }

    @Override
    public ArrayList<List> getUserList(Integer uId) {
        return listMapper.getUserList(uId);
    }


}
